from  django.http import  HttpResponse
from  django.shortcuts import render
from django.http import JsonResponse
from django.views.generic import View
from django.shortcuts import redirect

#
from django.views import View

class AddGrade(View):
    def get(self, request):
        return HttpResponse('AddGrade')

    def post(self, request):
        return JsonResponse({'A':12312312})